package cn.newhopedairy.order.applicationc;

import cn.newhopedairy.order.command.MainOrderCmd;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Neo.Li
 * @date 2020-09-3016:27
 */
public interface MainOrderCmdService {
    /**
     * 下单
     *
     * @param mainOrderCmd
     * @return
     */
    @RequestMapping(method = RequestMethod.POST, value = "/create")
    String placeAnOrder(MainOrderCmd mainOrderCmd);

}
